home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
fix402s.zip
/
FIXMANUL.DOC
< prev
next >
Wrap
Text File
|
1994-04-01
|
41KB
|
990 lines
fixmanul.doc 4-94
FIX 4.02 USER'S MANUAL
April 1994
NovaLogic(TM)
13585 SW Pommel Ct
Beaverton, OR 97005-7231
voice: (503) 524-9184
internet: novalogic@teleport.com
::
- i -
CONTENTS
Introduction ....................................... 1
Uses for FIX ....................................... 1
Syntax ............................................. 2
Online Help ........................................ 2
Specify Strings .................................... 2
Special String Conditions .......................... 3
Specify Input/Output Files ......................... 4
Set Alternate Mode of Operation .................... 5
Output ............................................. 6
Automatic Protection Re-writing Files .............. 7
Return Code ........................................ 9
Requirements ....................................... 9
Limits ............................................. 10
Appendix A - File FIXing Primer ................. 11
Appendix B - Comparison FIX Configurations ...... 12
Appendix C - Complementary Batch Utilities ...... 13
DISCLAIMER OF WARRANTY
THIS SOFTWARE AND MANUAL ARE OFFERED "AS IS" AND WITHOUT
WARRANTIES AS TO PERFORMANCE OR MERCHANTABILITY. THE FIX
PROGRAM AND BATCH UTILITIES ARE SOLD WITHOUT ANY EXPRESS
OR IMPLIED WARRANTIES WHATSOEVER. BECAUSE OF THE
DIVERSITY OF CONDITIONS AND HARDWARE UNDER WHICH THESE
PROGRAMS MAY BE USED, NO WARRANTY OF FITNESS FOR A
PARTICULAR PURPOSE IS OFFERED. THE USER IS ADVISED TO
TEST THE PROGRAMS THOROUGHLY BEFORE RELYING ON THEM. THE
USER MUST ASSUME THE ENTIRE RISK OF USING THE PROGRAMS.
ANY LIABILITY OF LICENSOR/PUBLISHER OR AUTHOR WILL BE
LIMITED EXCLUSIVELY TO PRODUCT REPLACEMENT OR REFUND OF
THE PURCHASE PRICE.
Copyright (C) 1993,1994 NovaLogic. All rights reserved.
::
Fix User's Manual Page 1 of 13
INTRODUCTION
------------
FIX is a simple file maintenance utility that will find
and replace occurrences of any byte string in any size or
type of MS-DOS[1] file (see Appendix A). Its virtues are
flexibility, speed, and built-in data protection. There
are 3 configurations of FIX with progressively greater
functionality (see Appendix B):
(1) FIX 4.02S, the SHAREWARE configuration, provides
basic full function but includes a randomly appearing
promotional screen;
(2) FIX 4.02R, the REGISTERED configuration, eliminates
the promotional screen, supports 3 alternate modes of
operation and delimited findstrings, and includes a
larger set of complementary .BAT utilities (see
Appendix C);
(3) FIX 4.02L, the LICENSED configuration, adds multifile
capability by accepting the wildcards (?) and (*) in
input and output filenames, and adds the ability to
guarantee the replacestring is exclusive.
See the text file FIXLICEN.DOC for the license available
for each these configurations of FIX. To register or
license FIX - print out and use the order form/mailer in
file FIXORDER.FRM.
USES FOR FIX
------------
The most obvious use for FIX is changing the occurrences
of a misspelled or incorrect word in some body of text.
While this can be done with your editor or word processor,
it can be done more quickly using FIX if it's the only
change to be made.
But FIX can do something that most editors or word proces-
sors can't, and that is make mass changes to non-printing
control characters. This permits changing all single
spaced lines to double spaced in a large text file, or re-
formatting a large source code file by shifting all inden-
ted lines right, or left, by 1 tab. For more examples see
____________________
[1] FIX is a trademark of NovaLogic. NovaLogic is a
trademark of John F Crist. MS-DOS and Windows are
trademarks of Microsoft Corp. IBM-PC, PC-AT and PS/2 are
trademarks of IBM Corp. 8086, 8088, 80286, 80386, 80486 &
Pentium are trademarks of Intel Corp.
::
Fix User's Manual Page 2 of 13
the included .BAT utilities. FIX may also be used on
binary files to "patch" small portions of code or data.
The power of FIX becomes more apparent in the LICENSED
configuration which enables the user to address a set of
files. This makes it possible to correct a word which may
have occurred any number of times in each of the multiple
files which comprise some very large document. Or you may
update the version and date information that appear in the
headers of a large set of source modules that make up a
computer program. Judicious application of Licensed FIX
can save the user many keystrokes in maintaining a large
set of related files.
SYNTAX
------
FIX [-c|-q|-f] FINDSTRING REPLACESTRING
[d:][path]FILENAME [d:][path][outfIle]
The mandatory command line arguments are: (1) findstring,
(2) replacestring and (3) filename. Optionally the user
may specify an output filename, and may also specify disk
drive(s) and directory path(s) for input and/or output
files. FIX a